package edu.bw.dao.Impl02;

import edu.bw.dao.UserDao;
import org.springframework.stereotype.Repository;

/**
 * 问题:edu.bw.dao.Impl02.UserDaoImpl得id和edu.bw.dao.Impl.UserDaoImpl的id重复,导致冲突异常
 * Annotation-specified bean name 'userDaoImpl' for bean class [edu.bw.dao.Impl.UserDaoImpl] conflicts with existing,
 * non-compatible bean definition of same name and class [edu.bw.dao.Impl02.UserDaoImpl]
 *
 * 解决方法:@Repository中需要指定bean的id，edu.bw.dao.impl下的UserDaoImpl和edu.bw.dao.impl02下的UserDaoImpl的beanid不重复即可
 */
@Repository("userDaoImpl02")  //<bean id=userDaoImpl class"edu.bw.dao.Impl02.UserDaoImpl"/>
public class UserDaoImpl implements UserDao {

}
